scale
Scales the transformation matrix by a given factor in both x and y directions.
Return
A new affine transformation matrix with the scaling applied.
Parameters
The scaling factor to apply to both x and y dimensions.
Scales the transformation matrix by a given vector. The x and y components of the vector represent the scaling factors in the respective directions.
Return
A new affine transformation matrix with the scaling applied.
Parameters
The vector to scale the matrix.
Scales the transformation matrix by given factors in the x and y directions.
Scaling is composed on the right of this transformation. In other words, the scale is applied to an input before this matrix, so the linear part is scaled by columns while the existing translation remains unchanged. This is consistent with times and with AffineTransformationMatrix1.scale.
Return
A new affine transformation matrix with the scaling applied.
Parameters
The scaling factor for the x-direction.
The scaling factor for the y-direction.